package com.config.alipay;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Component
@Data
@NoArgsConstructor
public class AlipayConfig {

    //appid
    private final String APP_ID = "2021000119665592";
    //应用私钥
    private final String APP_PRIVATE_KEY = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCqGw/0nbbaBduTeW6EkR2BRuhd0JwFis/svSM7HkABhcizzwMEa7FaqIrDJ7jeCCFhcMl0ZXU/AChr/vXAT/Nx1JMQMmZFp3wDTCctLgBp8Q8UEIOS/dG8hBWmk4ij9vve2amU0J/WJm17orZX0DBJAg74TzVYklpaoJ1cozRrOK8MOTm7Hjm6SXUwvmtsP+KbzrZRH1mW8vH9RLSP9pdBS9bZs8yIbiwJ4WWLHkax5ctfBHXOOoofn1hGoz9f2/AZBw2ztqRSaAtFdbmTOWXmaZKtRRy8YQKgSSmKe5yUb375K++Jdoi/z+sLI9X4dJP9zD++JyQn5OKvWVI5jn49AgMBAAECggEBAIk485IdeFhAyXUaTHFcrzSOgvzLQFGoPTt5CGa0bGXOCq4inQh/575+oBH2hUd3v5XfamQfRIniErmsH4tX88cr+MbkIWSnS39Ne30S0vqjn8pL2BhH8V3mH6EU+vFqWJzZcde+xHH45fEKvZXxOEJtCq59F0ewKHtbfhYxAiRLbDKkUg3VTS5gq63Wa7KbcUrvyCG4yj6WdNn5iNMcVYryNNa6a9tkh00ofzoHfPzyB8vytiCOD8L7eROZg6QgN9JIn2lt4QP+wbpT705CpUQmlpbomeHheBvAcAB/qrwsRSZCrQPzso7eJ3JJOG+mbdd0AjEJPTv7eBwPvYlZs/ECgYEA932twewiykf3P9W/vAdoEe9T8pKfZBXpygqQH26FDOp+woAxrOI6KTn66Q1/CvQnry6UFqli6FlB2Hugay9sPRTl39B5zT9+p8GT8xAU6bYw5iN1mrhEmccdBaK6OxtvotUpxMzf9rza6wjBPJlKHJCQ4agmml7fgFw8ftPHToMCgYEAr/REq8PeE6ObM0BfJ5fJozQEwPyIxaVyMmLIP3VdH086oa5AUIwSkSqCbJiNFuFAME3UNXIuigEJoZO4KkHPnWNiWQMwtAuwKhSyI6C1o35vIFaaVg5IaAJx8oKD6EMjm9LGl2dDqK4jAnKbGsqIoZ9jfftLhiNQ3Vbj6XQdZD8CgYA9Gu2sxJWuZehY/Xhyf02lp/aNHMB34KUxejwtVodJMhiMA0TAj7aWeTdHFUr5tGCb8x8jHT1LasZEIfnwnOvXhPJguUNpdrTZzISv7ZeMQKyAFd8yjS563VuACbZ7Y4HDrWe7rG3bqLNQdn/na12OAe+Tl4W4dZYvRha1pao+6wKBgQCufP8okwmE0kcTkS+L1POp++kG9Kgx0HspyloozBt39BsBwQqYlf/Ho69JQBMScHg2LshV5BCQ3KyPZi1JApB/1NHv0cEXm0usv29U84eNRdGv8RIGaw2Uz2/ufU2QJByI54H3HPm0qlOflsWH0Pejx6tjgLQJprYHeaZ0maiYAwKBgE/wL791DPPNuxsP8WCSZOVS7uRvX3fAPuklghAhCs29xEFub58a6y0Fr/Uui2PE5NoHb5tTAZPDD0v+shSsT2ctegjfUj2vVrUohbP38uU5O80Zb72LRBjKmmBgFpDtBYyRs7dJ0MfDoSchA4+O5Aca86IxkA52tRLLOjRyAW7Q";
    private final String CHARSET = "UTF-8";
    // 支付宝公钥
    private final String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAigqlveDmEcypU7uS6ZcvAl/MPtXF5WjVXUKshmNAu716RP9pigf7cXCYl7eVnSt131fCevaRP4TAOQ1MwWWx7BdDPeCsx20W1MQJVoQTwW+lVBpa8+YcA98DMQfYXMytCxhmu+1rHPn9z+DF/1jt9oaya8u0IGdodISTNZNcu0DeAMa1Z3dhIMLw1d8m36fUm/7gdpK23KaroCqJAdDDlTueIwnCQtd3wEGvQAS5Rtw44f3TQoqlAkSrrKwmHrWfL8h92wsWXfsdjy7hb9tRwp0mCsNGH0AqMVbiL3B0+FvilgwK2aVRcHJSxu4asJooZTJkZ/wuhO58sktFj/3XmQIDAQAB";
    //这是沙箱接口路径,正式路径为https://openapi.alipay.com/gateway.do
    private final String GATEWAY_URL ="https://openapi.alipaydev.com/gateway.do";
    private final String FORMAT = "JSON";
    //签名方式
    private final String SIGN_TYPE = "RSA2";
    //支付宝异步通知路径,付款完毕后会异步调用本项目的方法,必须为公网地址
    private final String NOTIFY_URL = "https://d536-111-164-246-95.jp.ngrok.io/notifyurl";
    //支付宝同步通知路径,也就是当付款完毕后跳转本项目的页面,可以不是公网地址
    private final String RETURN_URL = "http://47.103.100.26:8089/returnurl";

    // 省略get set
}